Skip to content

fix(marketing): inline graph paper SVG, swap copy link for icon button#732

Merged
RhysSullivan merged 2 commits intomainfrom
marketing/fix-grid-pattern-and-copy-button
May 9, 2026
Merged

fix(marketing): inline graph paper SVG, swap copy link for icon button#732
RhysSullivan merged 2 commits intomainfrom
marketing/fix-grid-pattern-and-copy-button

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

Summary

  • Inline the graph paper SVG as a data:image/svg+xml,... URI on .pattern-graph so the hero grid renders even when /pattern-graph-paper.svg 404s (which it currently does in production).
  • Convert the hero $ npx executor web link into a button that copies the command to the clipboard. Renders a copy icon that crossfades to a check icon (accent color) on success and reverts after 1.5s.

Test plan

  • Load the homepage in dev and verify the hero grid pattern is visible.
  • Click $ npx executor web and confirm the icon flips from copy → check, then back; verify clipboard contains npx executor web.
  • After deploy, confirm grid renders in production (no /pattern-graph-paper.svg request, no 404).

The /pattern-graph-paper.svg public asset was 404ing in production, so the
hero grid pattern never rendered. Inline the SVG as a data URI in the mask
so it can never miss. While here, turn the "$ npx executor web" hero link
into a button that copies the command to the clipboard, with a copy icon
that crossfades to a check on success.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 2854388 Commit Preview URL

Branch Preview URL
May 09 2026, 12:02 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 2854388 May 09 2026, 12:03 AM

@RhysSullivan RhysSullivan merged commit 28ccae2 into main May 9, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant